.blog-page {
  padding: 2rem 0;
  position: relative;
  outline: none;
}

/* 隐藏滚动条但保持滚动功能 */
.blog-page::-webkit-scrollbar {
  display: none;
}

.blog-page {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* 彩蛋提示 */
.easter-egg-hint {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(24, 144, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 12px 16px;
  color: white;
  font-size: 0.9rem;
  z-index: 1000;
  transform: translateX(100%);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(24, 144, 255, 0.3);
}

.easter-egg-hint.show {
  transform: translateX(0);
}

.hint-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hint-icon {
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

.hint-text {
  font-weight: 500;
}

/* 页面头部 */
.page-header {
  margin-bottom: 2.5rem;
}

.header-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* 分类筛选 */
.category-filter {
  margin-bottom: 3.5rem;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.filter-tab {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 28px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  height: auto !important;
  padding: 0.9rem 1.8rem !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.filter-tab:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(24, 144, 255, 0.4) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.filter-tab.ant-btn-primary {
  background: linear-gradient(135deg, #1890ff, #52c41a) !important;
  border-color: transparent !important;
  color: white !important;
  box-shadow: 0 6px 20px rgba(24, 144, 255, 0.4) !important;
  transform: translateY(-2px);
}

.tab-badge {
  background: transparent !important;
  color: inherit !important;
}

.tab-badge :deep(.ant-badge-count) {
  color: inherit !important;
  border: none !important;
  font-weight: 600;
}

/* 文章列表 */
.articles-container {
  margin-bottom: 3rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 0 1rem;
  }

  .filter-tabs {
    gap: 0.8rem;
    padding: 0 1rem;
  }

  .filter-tab {
    padding: 0.7rem 1.4rem !important;
    font-size: 0.9rem;
  }

  .easter-egg-hint {
    top: 10px;
    right: 10px;
    font-size: 0.8rem;
    padding: 10px 12px;
  }
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(255, 255, 255, 0.6);
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state :deep(.ant-empty-description) {
  color: rgba(255, 255, 255, 0.6) !important;
}

.empty-state h3 {
  color: white;
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
}

.empty-state p {
  margin: 0;
  font-size: 1rem;
}

/* 分页 */
.pagination-container {
  text-align: center;
  margin-top: 3rem;
}

.custom-pagination {
  background: rgba(230, 230, 250, 0.1) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(230, 230, 250, 0.2) !important;
  border-radius: 16px !important;
  color: #e6e6fa !important;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: auto !important;
  padding: 1rem 1.8rem !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.custom-pagination:hover {
  background: rgba(230, 230, 250, 0.15) !important;
  border-color: rgba(221, 160, 221, 0.4) !important;
  color: #e6e6fa !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.custom-pagination :deep(.ant-pagination-item) {
  background: rgba(230, 230, 250, 0.08) !important;
  border: none !important;
  color: rgba(230, 230, 250, 0.9) !important;
  border-radius: 12px !important;
  margin: 0 0.25rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 38px !important;
  height: 38px !important;
  line-height: 36px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.custom-pagination :deep(.ant-pagination-item a) {
  color: rgba(230, 230, 250, 0.9) !important;
}

.custom-pagination :deep(.ant-pagination-item:hover) {
  background: rgba(230, 230, 250, 0.15) !important;
  color: #f0f0ff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.custom-pagination :deep(.ant-pagination-item:hover a) {
  color: #f0f0ff !important;
}

.custom-pagination :deep(.ant-pagination-item-active) {
  background: linear-gradient(135deg, #dda0dd, #c8a2c8) !important;
  border: none !important;
  color: #4a4a6a !important;
  box-shadow: 0 4px 12px rgba(221, 160, 221, 0.3) !important;
  transform: translateY(-1px);
  font-weight: 700 !important;
}

.custom-pagination :deep(.ant-pagination-item-active a) {
  color: #4a4a6a !important;
}

.custom-pagination :deep(.ant-pagination-total-text) {
  color: rgba(230, 230, 250, 0.9) !important;
  font-weight: 500;
  font-size: 0.85rem;
  margin: 0 0.4rem;
}

.custom-pagination :deep(.ant-pagination-prev),
.custom-pagination :deep(.ant-pagination-next) {
  display: none !important;
}

/* 动画 */
@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-8px);
  }

  60% {
    transform: translateY(-4px);
  }
}